<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>登录注册</title>
    <script type="text/javascript" th:src="@{/plugins/vali/js/jquery-3.2.1.min.js}"></script>
</head>
<body>
<input type="hidden"  id="hidden"
       th:value="${aliStr}">
</body>
</html>
<script language="javascript" type="text/javascript">
   var str =  $("#hidden").val()
   window.location.href=str
</script>